Skip to content

PropertyValues(T1, T2) constructor

Defined in

Type: PropertyValues Namespace: ReactiveUI.Binding.Reactive Assembly: ReactiveUI.Binding.Reactive.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-ios18.0, net9.0-macos15.0, net9.0-desktop1.0, net8.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, netstandard2.1, net481, net462, net471

public PropertyValues(T1 Property1, T2 Property2)

Summary: The values of 2 observed properties, as one emission.

Parameters

NameTypeDescription
Property1T1The value of the first observed property.
Property2T2The value of the second observed property.

Remarks

        Multi-property observation emits every property's current value together, so the emission is one value
        rather than a group of them. Being positional, it still deconstructs, so a subscriber can name the
        properties it cares about without naming the type.